package com.server.dao;

import java.util.Date;
import java.util.Vector;

import com.data.User;

public interface UserDAO {
	public boolean saveUser(User u);

	public boolean updateUser();

	public boolean updateCheckedTime(Date newTime, User usr);

	public boolean updateCheckedTime(Date newTime, String usr);

	public boolean updateNotifiedTime(Date newTime, User usr);

	public User getUser(String userID);

	public Vector<User> getUsersByInterval(int interval);

	public void saveUserDeviceRegID(String userID, int deviceId, String regID);
}